package com.api.user.service;

import com.api.core.config.AuthUser;
import com.api.core.response.Result;
import com.api.core.service.Service;
import com.api.user.model.ManageExamineLog;
import com.api.user.model.ManageInfo;
import com.api.user.model.UserInfo;

import java.util.List;
import java.util.Map;

/**
 * Created by wanghuiwen on 2021/03/25.
 */
public interface ManageInfoService extends Service<ManageInfo> {
   Result list(Map<String, Object> params, String order, Integer page, Integer size);
   Result add(ManageInfo manageInfo);

   Result examine(ManageExamineLog manageExamineLog);

   Result detail(Long userId);

   Result updateManager(UserInfo userInfo, ManageInfo manageInfo);

   Result invitation(AuthUser authUser);

    Result invita(String email, String fullName, String password, AuthUser authUser);

   Result invitationRemove(Long userId, Boolean disable);

   Result block(Long userId, Boolean block);

   List<Map<String, Object>> export(Map<String, Object> params, String order);
}
